Fox's Git Mirrors
scripts/ci/exec-priv.sh 9eb1d8a4a2c2fa7c16a4586f6227eaf9f617c5cc (9eb1d8a4) Text, 211 B
#!/bin/sh
# Run a command with root privileges: use sudo only when not root (Docker/act often have no sudo).
# Usage: sh scripts/ci/exec-priv.sh apt-get update
set -eu
. "$(dirname "$0")/priv.sh"
run_priv "$@"
Served by rngit 1.5.2 - Generated in 0.02s